package nila;

public class ASTContext {
    public static boolean debug = true;
    void d(String v) {
        if (debug) I.d("ast",v);
    }

    public ASTContext() {
    }
    public void start_net() {
        d("net start");
    }
    public void stop_net() {
        d("net stop");
    }

    public void start_nodelist() {
        d("nodelist start");
    }
    public void stop_nodelist() {
        d("nodelist stop");
    }

    public void start_node() {
        d("node start");
    }
    public void stop_node() {
        d("node stop");
    }

    public void start_arglist() {
        d("arglist start");
    }
    public void stop_arglist() {
        d("arglist stop");
    }
    public void add_sym(I_Sym s) {
        d("sym add " + s.v());
    }
    public void add_arg(I_Sym s) {
        d("arg add " + s.v());
    }
}
